package com.yjt.sousou.create.entity;


import com.yjt.sousou.base.BaseEntity;

import java.util.List;

/**
 * 作者：83734
 * 时间：2018/12/4
 * 描述：
 */
public class FaultType extends BaseEntity {

    /**
     * sql : SELECT id,gzlx_type,class_id FROM gzlx_type  where 1
     * data : [{"id":"1","gzlx_type":"水电基建","class_id":"0","gzlx_lists":[{"gzlx_id":"1","gzlx_name":"其他","gzlx_type_id":"1"},{"gzlx_id":"18","gzlx_name":"门锁更换配件","gzlx_type_id":"1"}]},{"id":"2","gzlx_type":"弱电通讯","class_id":"0","gzlx_lists":[{"gzlx_id":"22","gzlx_name":"打印机维护","gzlx_type_id":"2"},{"gzlx_id":"23","gzlx_name":"音响设备调试","gzlx_type_id":"2"}]}]
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * gzlx_type : 水电基建
         * class_id : 0
         * gzlx_lists : [{"gzlx_id":"1","gzlx_name":"其他","gzlx_type_id":"1"},{"gzlx_id":"18","gzlx_name":"门锁更换配件","gzlx_type_id":"1"}]
         */

        private String id;
        private String gzlx_type;
        private String class_id;
        private boolean isClicked;
        private List<GzlxListsBean> gzlx_lists;

        public boolean isClicked() {
            return isClicked;
        }

        public void setClicked(boolean clicked) {
            isClicked = clicked;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getGzlx_type() {
            return gzlx_type;
        }

        public void setGzlx_type(String gzlx_type) {
            this.gzlx_type = gzlx_type;
        }

        public String getClass_id() {
            return class_id;
        }

        public void setClass_id(String class_id) {
            this.class_id = class_id;
        }

        public List<GzlxListsBean> getGzlx_lists() {
            return gzlx_lists;
        }

        public void setGzlx_lists(List<GzlxListsBean> gzlx_lists) {
            this.gzlx_lists = gzlx_lists;
        }

        public static class GzlxListsBean {
            /**
             * gzlx_id : 1
             * gzlx_name : 其他
             * gzlx_type_id : 1
             */

            private String gzlx_id;
            private String gzlx_name;
            private String gzlx_type_id;
            private String gzlx_type_name;
            private boolean isClicked;

            public boolean isClicked() {
                return isClicked;
            }

            public void setClicked(boolean clicked) {
                isClicked = clicked;
            }

            public String getGzlx_id() {
                return gzlx_id;
            }

            public void setGzlx_id(String gzlx_id) {
                this.gzlx_id = gzlx_id;
            }

            public String getGzlx_name() {
                return gzlx_name;
            }

            public String getGzlx_type_name() {
                return gzlx_type_name;
            }

            public void setGzlx_type_name(String gzlx_type_name) {
                this.gzlx_type_name = gzlx_type_name;
            }

            public void setGzlx_name(String gzlx_name) {
                this.gzlx_name = gzlx_name;
            }

            public String getGzlx_type_id() {
                return gzlx_type_id;
            }

            public void setGzlx_type_id(String gzlx_type_id) {
                this.gzlx_type_id = gzlx_type_id;
            }
        }
    }
}
